package com.fhz.hiltmvvm;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import javax.inject.Inject;

import dagger.hilt.android.AndroidEntryPoint;
import okhttp3.HttpUrl;
import retrofit2.Retrofit;


@AndroidEntryPoint
public class MainActivity extends AppCompatActivity {

    @Inject
    User user;


    @Inject
    Retrofit mRetrofit;

    @Inject
    AnalyticsAdapter analytics;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

//        user = new User();
//        user.test();

        HttpUrl httpUrl = mRetrofit.baseUrl();

        analytics.test();
    }
}